package com.epin.base.vo;

import java.util.Collections;
import java.util.List;

public class VOPage<T> {
	
	/**
	 * 查询数据列表
	 */
	private List<T> rows = Collections.emptyList();
   

	/**
	 * 总数 
	 */
	private long total = 0;
	
	
	public VOPage(List<T> rows, long total) {
		super();
		this.rows = rows;
		this.total = total;
	}
	
	public VOPage() {
		super();
	}


	public List<T> getRows() {
		return rows;
	}
	
	
	public void setRows(List<T> rows) {
		this.rows = rows;
	}


	public long getTotal() {
		return total;
	}


	public void setTotal(long total) {
		this.total = total;
	}
	
	

}
